Drill 9

Center tags

I will center the text at the top of the document resume.html. This is the text (I use section headers to make it distinctive):

<H1>George A. Brothers Jr.</H1>
<H3>1639 Boulder St.</H3>
<H3>Rapid City, SD 57702</H3>
<H3>605-343-1275</H3>

To center all of the text I just insert the opening and closing center tags:

<CENTER> ----------------------------> opening center tag
<H1>George A. Brothers Jr.</H1>
<H3>1639 Boulder St.</H3>
<H3>Rapid City, SD 57702</H3>
<H3>605-343-1275</H3>
</CENTER> --------------------------> closing center tag

After I save the document and open it with my browser the text will be centered on the page.

••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

Modifying the background, et al.

Instead of keeping the default background of gray in the document resume.html, I want the background to be white.So instead of just using the plain body tags:

<BODY> </BODY>

I use this code:

<BODY BGCOLOR="#ffffff" TEXT="#000000" LINK="#0000a0" VLINK="#ff0000">  </BODY>

#ffffff will change the background to white. My text will stay black, links will be blue and visited links will be red.

Take a look at the top of resume.html to see where this code fits in.

I will give some hexidecimal numbers/code in the reference section after this drill.

On to reference and tips.